summarylogtreecommitdiffstats
path: root/0117-smoketests-test-that-_decimal-exists.patch
diff options
context:
space:
mode:
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
+