summarylogtreecommitdiffstats
path: root/0117-smoketests-test-that-_decimal-exists.patch
diff options
context:
space:
mode:
authoratomlong2021-10-23 17:55:22 +0800
committeratomlong2021-10-23 18:06:15 +0800
commit80096c8de4b34ec1ed8f30bb428918cd592b2424 (patch)
treeb48dd1e73de9ea35a4709fb6b93deb16331ec514 /0117-smoketests-test-that-_decimal-exists.patch
parent89a67c05174951d172252b1db96ff93cc4ec4bcd (diff)
downloadaur-80096c8de4b34ec1ed8f30bb428918cd592b2424.tar.gz
update to 3.9.7
Diffstat (limited to '0117-smoketests-test-that-_decimal-exists.patch')
-rw-r--r--0117-smoketests-test-that-_decimal-exists.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0117-smoketests-test-that-_decimal-exists.patch b/0117-smoketests-test-that-_decimal-exists.patch
new file mode 100644
index 000000000000..d5fab8e948fd
--- /dev/null
+++ b/0117-smoketests-test-that-_decimal-exists.patch
@@ -0,0 +1,26 @@
+From b7d2e9e27140b56c131e1705bd20dcc7dac63eb2 Mon Sep 17 00:00:00 2001
+From: Christoph Reiter <reiter.christoph@gmail.com>
+Date: Thu, 23 Sep 2021 09:57:56 +0200
+Subject: [PATCH 117/N] smoketests: test that _decimal exists
+
+---
+ mingw_smoketests.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/mingw_smoketests.py b/mingw_smoketests.py
+index 70acbd1..527aafb 100644
+--- a/mingw_smoketests.py
++++ b/mingw_smoketests.py
+@@ -139,6 +139,9 @@ class Tests(unittest.TestCase):
+ import ctypes
+ import curses
+
++ def test_c_modules_import(self):
++ import _decimal
++
+ def test_socket_inet_ntop(self):
+ import socket
+ self.assertTrue(hasattr(socket, "inet_ntop"))
+--
+2.33.0
+