[issue32426] Tkinter.ttk Widget does not define wich option exists to set the cursor
Alessandro Piccione added the comment: As suggested the documentation for "cursor" is here: https://www.tcl.tk/man/tcl/TkCmd/cursors.htm Close [SOLVED] -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue32426> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32426] Tkinter.ttk Widget does not define wich option exists to set the cursor
New submission from Alessandro Piccione <alessandro.piccione...@gmail.com>: In the documentation of Tkinter.ttk Widget it is defined the "cursor" parameter. It is: cursor Specifies the mouse cursor to be used for the widget. If set to the empty string (the default), the cursor is inherited for the parent widget. There is not ANY way to knok wich value this parameter accept. Searching "cursor" in the documentation does not find nothing, apart database cursor and this page (Tkinter.ttk.Widget). Thanks, Alessandro -- components: Tkinter messages: 309045 nosy: alex.75 priority: normal severity: normal status: open title: Tkinter.ttk Widget does not define wich option exists to set the cursor type: resource usage versions: Python 3.8 ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32426> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30743] unittest discover does not mention module file must be named with "test_" prefix
Alessandro Piccione added the comment: You are right. As the `--pattern` documentation says, the default pattern is "test*.py" which does not match "aaaTest.py". I had looking for the wrong pattern. Thanks, Alex -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30743> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30743] unittest discover does not mention module file must be named with "test_" prefix
Alessandro Piccione added the comment: If you refer to the -p ("pattern" parameter) I think not. I have my module named aaaTest.py. I is is not mentioned that discover look for modules named "test_" for which reason I have to use a pattern? If you refer to -s ("start-directory" parameter) same thing: for which reason I have to assume my aaaTest.py module is not recognized as a test? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30743> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30743] unittest discover does not mention module file must be named with "test_" prefix
New submission from Alessandro Piccione: 1. execute "python -m unittest" 2. Result: 0 test found 3. Change file name from "aaaTest.py" to "test_aaa.py" 4. execute "python -m unittest" 3. Result: Ran 1 tests in 000.0s Module file MUST be named using the prefiux "test_". The page "https://docs.python.org/3/library/unittest.html; does not mention this MANDATORY rule. I went to this conclusion because I readed the documentation without find any point about the naming convention of modules and than looking for this specific rule searching "test_" and "test_ " without any result. Regards, Alessandro -- assignee: docs@python components: Documentation messages: 296740 nosy: alex.75, docs@python priority: normal severity: normal status: open title: unittest discover does not mention module file must be named with "test_" prefix versions: Python 3.6 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30743> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17714] str.encode('base64') add trailing new line character is not documented
New submission from Alessandro Piccione: str.encode() with 'base64' as argument add a trailing new line character to the returned string. This is the difference from base64.b64encode(str) (that is used internally). This is not documented in str.encode() http://docs.python.org/2/library/stdtypes.html?highlight=encode#str.encode Instead it is perfectly documented for base64.encodestring() http://docs.python.org/2/library/base64.html#base64.encodestring -- messages: 186734 nosy: alex.75 priority: normal severity: normal status: open title: str.encode('base64') add trailing new line character is not documented versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17714 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17714] str.encode('base64') add trailing new line character. It is not documented.
Changes by Alessandro Piccione alessandro.piccione...@gmail.com: -- title: str.encode('base64') add trailing new line character is not documented - str.encode('base64') add trailing new line character. It is not documented. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17714 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14971] (unittest) loadTestsFromName does not work on method with a decorator
New submission from Alessandro Piccione alessandro.piccione...@gmail.com: Steps to reproduce the problem. 1. Create a module (ex. name it test) 2. Create a file in it (ex. mainTest.py) with a class (ex. MainTest) derived from TestCase. 3. Create a test method in that class, (ex. test_base), prefix it with test. 4. Create a decorator (ex. clear_args) and use it on the test method 5. Create a test suite with the function loadTestsFromName of TestLoader class and make a TestRunner run it (I use a TextTestRunner). suite = unittest.TestLoader().loadTestsFromName('test.mainTest.MainTest.test_base') unittest.TextTestRunner(verbosity=2).run(suite) It is expected that the test is run (it runs without decorator). It gives an error: no such test method in class 'test.mainTest.MainTest': wrapper. wrapper is the name of the returned function in the decorator. I'm using Python 2.7.3 on Windows 7 64bit. I search loadTestsFromName decorator without results, so I decided to report as new issue. This is my first report, I admit I've not read any guide/instructions. -- components: None messages: 162015 nosy: alex.75 priority: normal severity: normal status: open title: (unittest) loadTestsFromName does not work on method with a decorator type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14971 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com