MCPcopy Index your code
hub / github.com/python/cpython / test_hardlink_bad_args

Method test_hardlink_bad_args

Lib/test/test_compileall.py:949–952  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

947 self.assertFalse(os.path.isfile(prohibited_bc))
948
949 def test_hardlink_bad_args(self):
950 # Bad arguments combination, hardlink deduplication make sense
951 # only for more than one optimization level
952 self.assertRunNotOK(self.directory, "-o 1", "--hardlink-dupes")
953
954 def test_hardlink(self):
955 # 'a = 0' code produces the same bytecode for the 3 optimization

Callers

nothing calls this directly

Calls 1

assertRunNotOKMethod · 0.95

Tested by

no test coverage detected