diff options
author | Guido van Rossum <guido@python.org> | 2000-04-21 21:28:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-21 21:28:47 (GMT) |
commit | cdd092fe4874def51f6a3f9d972bd47588235ce4 (patch) | |
tree | 9f23cd69f24847d523de0991f7e7ca3671f4bae1 /Lib | |
parent | a8ee4c31bff512e1137656d6063e05a8ed204307 (diff) | |
download | cpython-cdd092fe4874def51f6a3f9d972bd47588235ce4.zip cpython-cdd092fe4874def51f6a3f9d972bd47588235ce4.tar.gz cpython-cdd092fe4874def51f6a3f9d972bd47588235ce4.tar.bz2 |
Added test_winsound by Mark Hammond.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/output/test_winsound | 2 | ||||
-rw-r--r-- | Lib/test/test_winsound.py | 7 |
2 files changed, 9 insertions, 0 deletions
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!" + |