summarylogtreecommitdiffstats
path: root/0133-smoketests-update.patch
diff options
context:
space:
mode:
authoratomlong2021-08-28 11:19:04 +0800
committeratomlong2021-08-28 13:15:13 +0800
commit89a67c05174951d172252b1db96ff93cc4ec4bcd (patch)
treed8c39fa79b201cf9aea28c51e7446a252ed8fee4 /0133-smoketests-update.patch
parentcf8d8d8771493a2aa8370ed323d06dc733a84181 (diff)
downloadaur-89a67c05174951d172252b1db96ff93cc4ec4bcd.tar.gz
Update to 3.9.6
Diffstat (limited to '0133-smoketests-update.patch')
-rw-r--r--0133-smoketests-update.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/0133-smoketests-update.patch b/0133-smoketests-update.patch
new file mode 100644
index 000000000000..0178d817dfe3
--- /dev/null
+++ b/0133-smoketests-update.patch
@@ -0,0 +1,30 @@
+From 61c5a4a14932539b31878de0b60bc98bcba791b9 Mon Sep 17 00:00:00 2001
+From: Christoph Reiter <reiter.christoph@gmail.com>
+Date: Sun, 1 Aug 2021 18:48:43 +0200
+Subject: [PATCH 133/N] smoketests: update
+
+---
+ mingw_smoketests.py | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/mingw_smoketests.py b/mingw_smoketests.py
+index 3f41855..0b99c88 100644
+--- a/mingw_smoketests.py
++++ b/mingw_smoketests.py
+@@ -57,6 +57,13 @@ class Tests(unittest.TestCase):
+ self.assertFalse(hasattr(sys, 'getdlopenflags'))
+ self.assertFalse([n for n in dir(os) if n.startswith("RTLD_")])
+
++ def test_time_no_unix_stuff(self):
++ import time
++ self.assertFalse([n for n in dir(time) if n.startswith("clock_")])
++ self.assertFalse([n for n in dir(time) if n.startswith("CLOCK_")])
++ self.assertFalse([n for n in dir(time) if n.startswith("pthread_")])
++ self.assertFalse(hasattr(time, 'tzset'))
++
+ def test_strftime(self):
+ import time
+ with self.assertRaises(ValueError):
+--
+2.32.0
+