Files
MINGW-packages/mingw-w64-python/0113-smoketests-test-that-_decimal-exists.patch
2023-02-10 12:56:41 +01:00

24 lines
708 B
Diff

From 5282a3a13bdb0e9a29ccb3b637617691575f19b0 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 113/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"))