mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Reverted per Serhiy's request.
This commit is contained in:
parent
2928e5dc65
commit
2a3926fa51
3 changed files with 2 additions and 41 deletions
|
@ -133,21 +133,6 @@ class DumpTests(MemoryDatabaseMixin, unittest.TestCase):
|
|||
actual = list(self.cx.iterdump())
|
||||
self.assertEqual(expected, actual)
|
||||
|
||||
def test_dump_unicode_invalid(self):
|
||||
# gh-108590
|
||||
expected = [
|
||||
"BEGIN TRANSACTION;",
|
||||
"CREATE TABLE foo (data TEXT);",
|
||||
"INSERT INTO \"foo\" VALUES('a\x9f');",
|
||||
"COMMIT;",
|
||||
]
|
||||
self.cu.executescript("""
|
||||
CREATE TABLE foo (data TEXT);
|
||||
INSERT INTO foo VALUES (CAST(X'619f' AS TEXT));
|
||||
""")
|
||||
actual = list(self.cx.iterdump())
|
||||
self.assertEqual(expected, actual)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue