Commit 82351e16 authored by Robert Bradshaw's avatar Robert Bradshaw

Remove .c file to force recompile.

If the test runs too fast, the timestamps will be the same
despite overriting it.
parent 018aa991
......@@ -87,14 +87,14 @@ class TestInline(CythonTest):
self.fresh_cythonize(hash_pyx, cache=self.cache_dir, cplus=False)
self.assertEqual(1, len(self.cache_files('options.c*')))
open(hash_pyx, 'w').write('pass')
os.unlink(hash_c)
self.fresh_cythonize(hash_pyx, cache=self.cache_dir, cplus=True)
self.assertEqual(2, len(self.cache_files('options.c*')))
open(hash_pyx, 'w').write('pass')
os.unlink(hash_c)
self.fresh_cythonize(hash_pyx, cache=self.cache_dir, cplus=False, show_version=False)
self.assertEqual(2, len(self.cache_files('options.c*')))
open(hash_pyx, 'w').write('pass')
os.unlink(hash_c)
self.fresh_cythonize(hash_pyx, cache=self.cache_dir, cplus=False, show_version=True)
self.assertEqual(2, len(self.cache_files('options.c*')))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment