Message306890
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 | leosilva |
|---|---|
| Recipients | jaybosamiya, larry, leosilva, serhiy.storchaka |
| Date | 2017-11-24.11:21:23 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1511522484.29.0.213398074469.issue30657@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Python 3.4 also has the similar code as 3.5, but applying the same patch tests for it results in test errors:
+======================================================================
+ERROR: test_anydbm_creation (test.test_dbm.TestCase-dbm.ndbm)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+ File "/<<PKGBUILDDIR>>/Lib/test/test_dbm.py", line 74, in test_anydbm_creation^M
+ self.read_helper(f)^M
+ File "/<<PKGBUILDDIR>>/Lib/test/test_dbm.py", line 115, in read_helper
+ self.assertEqual(self._dict[key], f[key.encode("ascii")])
+KeyError: b'0'
+
+======================================================================
+ERROR: test_anydbm_modification (test.test_dbm.TestCase-dbm.ndbm)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+ File "/<<PKGBUILDDIR>>/Lib/test/test_dbm.py", line 89, in test_anydbm_modification
+ self.read_helper(f)
+ File "/<<PKGBUILDDIR>>/Lib/test/test_dbm.py", line 115, in read_helper
+ self.assertEqual(self._dict[key], f[key.encode("ascii")])
+KeyError: b'0'
+
+======================================================================
+ERROR: test_anydbm_read (test.test_dbm.TestCase-dbm.ndbm)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+ File "/<<PKGBUILDDIR>>/Lib/test/test_dbm.py", line 95, in test_anydbm_read
+ self.read_helper(f)
+ File "/<<PKGBUILDDIR>>/Lib/test/test_dbm.py", line 115, in read_helper
+ self.assertEqual(self._dict[key], f[key.encode("ascii")])
+KeyError: b'0' |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-11-24 11:21:24 | leosilva | set | recipients: + leosilva, larry, serhiy.storchaka, jaybosamiya |
| 2017-11-24 11:21:24 | leosilva | set | messageid: <1511522484.29.0.213398074469.issue30657@psf.upfronthosting.co.za> |
| 2017-11-24 11:21:24 | leosilva | link | issue30657 messages |
| 2017-11-24 11:21:23 | leosilva | create | |