summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_winsound.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-21 21:28:47 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-21 21:28:47 (GMT)
commitcdd092fe4874def51f6a3f9d972bd47588235ce4 (patch)
tree9f23cd69f24847d523de0991f7e7ca3671f4bae1 /Lib/test/test_winsound.py
parenta8ee4c31bff512e1137656d6063e05a8ed204307 (diff)
downloadcpython-cdd092fe4874def51f6a3f9d972bd47588235ce4.zip
cpython-cdd092fe4874def51f6a3f9d972bd47588235ce4.tar.gz
cpython-cdd092fe4874def51f6a3f9d972bd47588235ce4.tar.bz2
Added test_winsound by Mark Hammond.
Diffstat (limited to 'Lib/test/test_winsound.py')
-rw-r--r--Lib/test/test_winsound.py7
1 files changed, 7 insertions, 0 deletions
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!"
+