Skip to content

Commit 67430dd

Browse files
committed
fix: fixed tests
1 parent 6b04857 commit 67430dd

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

test/make/Makefile.test

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ maketest:
3636
$(call test_func,make_relative_prefix,../..,common/prefix)
3737
$(call test_func,make_relative_prefix,../../..,/common/prefix)
3838

39-
$(call test_func2,relative_path_impl,,,)
40-
$(call test_func2,relative_path_impl,cat.txt,cat.txt,)
4139
$(call test_func2,relative_path,../cat.txt,common/prefix/cat.txt,common/prefix/for/dog.txt)
4240
$(call test_func2,relative_path,../../cat.txt,common/prefix/cat.txt,common/prefix/for/path/dog.txt)
4341
$(call test_func2,relative_path,../../cat.txt,/common/prefix/cat.txt,/common/prefix/for/path/dog.txt)

test/python/test_instantiation_file.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -301,20 +301,3 @@ def test_multiple_lowers(self):
301301
{ 'is_good_boy': False }
302302
]
303303
self.assertEqual(expected, evaluated)
304-
305-
class CheckHeaderCompilesForClassTests(unittest.TestCase):
306-
def test_present(self):
307-
with tempfile.TemporaryDirectory() as dtemp:
308-
fname = os.path.join(dtemp, 'test.h')
309-
with open(fname, 'wt') as wfp:
310-
print('struct A { explicit A(int*); };', file=wfp)
311-
312-
self.assertTrue(config.instantiation_file.check_header_compiles_for_class('A', fname))
313-
314-
def test_absent(self):
315-
with tempfile.TemporaryDirectory() as dtemp:
316-
fname = os.path.join(dtemp, 'test.h')
317-
with open(fname, 'wt') as wfp:
318-
print('struct A { explicit A(int*); };', file=wfp)
319-
320-
self.assertFalse(config.instantiation_file.check_header_compiles_for_class('B', fname))

0 commit comments

Comments
 (0)