summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2025-02-11 12:38:58 -0500
committerGitHub <noreply@github.com>2025-02-11 18:38:58 +0100
commit47c837a1ff96ef1b10b44477a7a9f72283d12e83 (patch)
treed83a57288b2a15e18d11ee6d43f3b26581204d87
parent41239fe34d64e801212dccaa4585e4802d0fac68 (diff)
Refs #23919 -- Removed Python 2 workaround in fixtures_regress.
This reverts commit 7e19641b0359c23105cc27eebd9ccb1963546f2a.
-rw-r--r--tests/fixtures_regress/tests.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/fixtures_regress/tests.py b/tests/fixtures_regress/tests.py
index 4a982c7262..43b5b7f0b7 100644
--- a/tests/fixtures_regress/tests.py
+++ b/tests/fixtures_regress/tests.py
@@ -1,7 +1,6 @@
# Unittests for fixtures.
import json
import os
-import re
import unittest
from io import StringIO
from pathlib import Path
@@ -425,11 +424,6 @@ class TestFixtures(TestCase):
# Output order isn't guaranteed, so check for parts
data = out.getvalue()
-
- # Get rid of artifacts like '000000002' to eliminate the differences
- # between different Python versions.
- data = re.sub("0{6,}[0-9]", "", data)
-
animals_data = sorted(
[
{