This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ta1hia
Recipients belopolsky, corona10, p-ganssle, ta1hia
Date 2019-09-15.00:33:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568507628.74.0.0288101628649.issue38155@roundup.psfhosted.org>
In-reply-to
Content
I'll definitely add that test @Paul. 

Speaking of, what do you guys think of this test:

     def test_c_all(self):
         """Test that __all__ symbols between the c datetime module and
         the python datetime library are equivalent."""

         c_datetime = import_fresh_module('datetime', fresh=['_datetime'])
         py_datetime = import_fresh_module('datetime', blocked=['_datetime'])
         self.assertEqual(c_datetime.__all__, py_datetime.__all__)


I found the import_fresh_module here: https://docs.python.org/3/library/test.html#test.support.import_fresh_module - super handy! The test currently passes for me locally, but I wanted to check if my usage was correct before submitting a PR.
History
Date User Action Args
2019-09-15 00:33:48ta1hiasetrecipients: + ta1hia, belopolsky, p-ganssle, corona10
2019-09-15 00:33:48ta1hiasetmessageid: <1568507628.74.0.0288101628649.issue38155@roundup.psfhosted.org>
2019-09-15 00:33:48ta1hialinkissue38155 messages
2019-09-15 00:33:48ta1hiacreate