-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for UCS-2 strings (#648)
* feat: add support for UCS-2 strings rebased commit: dcf703b * tests: add a test to ensure py-spy does not fails on cyrillic (ucs-2) strings * tests: fix `test_cyrillic` test for python 2 --------- Co-authored-by: Ben Frederickson <[email protected]>
- Loading branch information
Showing
3 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import time | ||
|
||
def кириллица(seconds): | ||
time.sleep(seconds) | ||
|
||
if __name__ == "__main__": | ||
кириллица(100) |