From cdd092fe4874def51f6a3f9d972bd47588235ce4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 21 Apr 2000 21:28:47 +0000 Subject: Added test_winsound by Mark Hammond. --- Lib/test/output/test_winsound | 2 ++ Lib/test/test_winsound.py | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 Lib/test/output/test_winsound create mode 100644 Lib/test/test_winsound.py diff --git a/Lib/test/output/test_winsound b/Lib/test/output/test_winsound new file mode 100644 index 0000000..f361e93 --- /dev/null +++ b/Lib/test/output/test_winsound @@ -0,0 +1,2 @@ +test_winsound +Hopefully you heard some sounds increasing in frequency! diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py new file mode 100644 index 0000000..901b701 --- /dev/null +++ b/Lib/test/test_winsound.py @@ -0,0 +1,7 @@ +# Rediculously simple test of the winsound module for Windows. + +import winsound +for i in range(100, 2000, 100): + winsound.Beep(i, 75) +print "Hopefully you heard some sounds increasing in frequency!" + -- cgit v0.12