Commit Graph
18584 Commits
Author SHA1 Message Date
Alexey Kudravtsev b5e2bbce5b notnull 2017-04-25 17:19:19 +03:00
Ilya.Kazakevich b7d10af1bb PY-22505: Introduce `_DISABLE_BUFFERING` that user may set for default test run configuration to use as workaround until runners are fixed.
Setting this variable disables buffering. May lead to output mess (i.e. stderr may go to wrong test node) but allows people to use debug console
2017-04-25 17:14:27 +03:00
Konstantin Kolosovsky 0de3d06cf4 Use "KeymapUtil.getActiveKeymapShortcuts()" utility method 2017-04-25 16:19:57 +03:00
Valentina Kiryushkina 4b55d21c72 Fix EDU-935 ClassNotFoundException Move class to PyCharm Edu IDE src 2017-04-25 12:59:41 +03:00
Ilya.Kazakevich b6c627382b PY-23452, IDEA-CR-20415: Helpers go to the tail of sys.path 2017-04-25 01:37:50 +03:00
Ilya.Kazakevich 778916e331 PY-14221: Do not instantiate unittest runner explicitly
See Leonid's comments on https://github.com/JetBrains/teamcity-messages/issues/135
2017-04-25 00:50:44 +03:00
Ilya.Kazakevich f28e9c5626 PY-22733: Do not set working directory for new configuration if template configuration already has one 2017-04-24 17:50:16 +03:00
Liana.Bakradze e5fec9ced0 EDU-933 Wrong language on course push 2017-04-24 17:06:44 +03:00
Liana.Bakradze c5cf8d7739 PY-23419 Data view don't show the index of DataFrame neither rows numbers from numpy array 2017-04-24 15:50:07 +03:00
Mikhail Golubev 2132f824b6 PY-16585 Handle type comments after comprehensions in "with" statements and "for" loops
Namely, don't use such comments to detect types of comprehension
variables.
2017-04-24 15:07:35 +03:00
Mikhail Golubev 6f7989223e PY-16585 Don't use type comments for inner targets of assigned comprehensions 2017-04-24 15:07:35 +03:00
Mikhail Golubev 336dc0b210 PY-22302 PY-23355 Don't warn about ellipsis and star expressions in function type comments
Also, UnsupportedFeatures annotator properly detects the language
level for the analyzed element. Previously, it used Python version of
the containing file for some injected fragments.
2017-04-24 15:07:35 +03:00
Ekaterina Tuzova e069ab4361 remove duplicated new scratch action 2017-04-24 14:16:05 +03:00
Ekaterina Tuzova 9f9e9470db remove unused edu import settings step 2017-04-24 14:14:21 +03:00
Ekaterina Tuzova fe0c205bf4 EDU-589 Do not create files in .idea folder while uploading course to Stepic 2017-04-24 14:06:29 +03:00
Ilya.Kazakevich 9ea403ecb5 PY-23856: Fix for 3.6 (char escaped correctly)
Please pick this commit along with previous PY-23856 or 3.6 would be broken.
2017-04-22 00:59:04 +03:00
Ekaterina Tuzova 27ad90521f do not store stepic step id in study task manager 2017-04-21 20:31:56 +03:00
Dmitry Batrak 3840e41483 remove method completion hints if parameter count was changed 'manually' 2017-04-21 19:11:14 +03:00
Ilya.Kazakevich 56e741a29a PY-23856: Support tests with docstring and spaces in target
* Targets are trimmed
* When unittest reports test with docstring it should be part of name, but not location
2017-04-21 19:09:40 +03:00
Elizaveta Shashkova 962903d4c3 Tests: use string presentation for the setup dict 2017-04-21 18:55:29 +03:00
Elizaveta Shashkova 521725606d Tests: an attempt to finish Django debug tests without waiting for process finishing because it has no sense 2017-04-21 18:14:07 +03:00
Elizaveta Shashkova 51b8c27e80 Tests: fix test data after old refactoring in arguments patching 2017-04-21 17:37:27 +03:00
Alexey Kudravtsev a529b702ed Logger.getInstance("#" + class.name) simplified 2017-04-21 16:06:02 +03:00
Liana.Bakradze c04ac2a93b EduCourseProjectGenerator should be optional 2017-04-21 14:51:21 +03:00
Elizaveta Shashkova 6f864bcb34 Update Windows binaries (PY-23906) 2017-04-21 14:40:18 +03:00
Elizaveta Shashkova 0ddd6ac601 Jython remote debugging fails with attribute error (PY-23906)
Fix from PyDev.Debugger
2017-04-21 14:40:17 +03:00
Liana.Bakradze b46e8a9f09 fix broken tests 2017-04-21 13:43:11 +03:00
Ekaterina Tuzova 28ae35a48c Merge remote-tracking branch 'origin/master' 2017-04-21 12:40:36 +03:00
Ilya.Kazakevich b9d17e211d PY-23785: support unittest2, PY-23846: support dots in subtest names
Leonid's runners updated to support unittest2 and  dots in subtests
2017-04-20 22:38:57 +03:00
Ilya.Kazakevich b7fa03c1ce PY-23217: Support django-nose
When django nose runner is used we need to:
* Use it instead of old TeamCityRunner
* Add new (Leonid's) nose plugin to NOSE_PLUGINS so it could report tests in TC protocol
2017-04-20 21:03:01 +03:00
Liana.Bakradze c40c52e08d cleanup 2017-04-20 19:40:28 +03:00
Liana.Bakradze 237c90e318 remove redundant interface 2017-04-20 19:22:28 +03:00
Liana.Bakradze 8d750d328a move smart checker to Edu Python 2017-04-20 19:18:35 +03:00
Ekaterina Tuzova 06763fad02 Merge branch 'meanmail/EDU-839' 2017-04-20 18:57:39 +03:00
Semyon Proshev 8937fe217a Fix warnings in PyNames and PyUnresolvedReferencesInspection 2017-04-19 17:12:26 +03:00
Semyon Proshev cf31442658 PY-21655 Fixed: False inspection: @asyncio.coroutine decorated function treated as non-awaitable
Don't mark "await" on generator based coroutines as unresolved.
2017-04-19 17:12:26 +03:00
Ilya.Kazakevich af1c31f4ae PY-23872 addition (test improvement) 2017-04-19 17:08:59 +03:00
Ilya.Kazakevich bd53f4c38f PY-23872 addition (test compilation fix) 2017-04-19 16:53:05 +03:00
Ilya.Kazakevich 7d5035d6c0 PY-23872: Do not set directory for new configuration if default exists
Newly created configuration should inherit default configuration dir if set
2017-04-19 16:36:40 +03:00
nik 68dc68f172 usage view: deprecate UsageFilteringRuleEx in favor of additional method in UsageFilteringRule
This makes the additional 'isVisible' method more discoverable and simplifies code.
2017-04-19 13:11:29 +03:00
nik 539242ad56 usage view: deprecate UsageGroupingRule.groupUsage method to ensure that getParentGroupsFor is called instead
A separate class SingleParentUsageGroupingRule is introduced for rules which return at most one parent group.
2017-04-19 11:20:49 +03:00
Ilya.Kazakevich c377fd4542 PY-23487: `resolveImportSourceCandidates` returns package *and* folder for python packages in plugin.
Issue is similar to PY-23267.
2017-04-19 01:15:54 +03:00
Ilya.Kazakevich 5f234d7a36 PY-23452: fix sys.path for runners to make same as with real runners
* Python adds script folder as sys.path[0]. Since we run helper "helpers" dir is sys.path[0]. Pop it, and testrunner will patch sys.path as it is done with command line.
* Unittest is launched as module and it adds current dir -- pycharm mimics this behaviour.
2017-04-19 00:09:06 +03:00
Ilya.Kazakevich 65a984d1f3 Test logging improved
It is always fail to rerun 0 tests: use error instead of warning
2017-04-19 00:09:06 +03:00
Ilya.Kazakevich aea10d4404 Cosmetic according to IDEA-CR-20371 and other traff's advices.
* "splitNameParts" renamed to "tryResolveAndSplit" and moved to tests package since its usage scope is too narrow to be used widely.
* methods that do resolve now have appropriate prefix "resolve"
* other methods renamed
2017-04-18 18:48:27 +03:00
Ilya.Kazakevich 6350eb1c97 Cosmetic according to IDEA-CR-20263 2017-04-18 18:48:27 +03:00
Liana.Bakradze 853385a6e9 extract task to inner class 2017-04-18 17:11:17 +03:00
Liana.Bakradze a94a7be0fa check for TaskWithSubtasks (EDU-882) 2017-04-18 17:11:17 +03:00
Liana.Bakradze 7f140d2533 remove unused method (EDU-882) 2017-04-18 17:11:17 +03:00
Liana.Bakradze b4078dd132 progress indicator might be null (EDU-882) 2017-04-18 17:11:17 +03:00