|
3 | 3 |
|
4 | 4 | from abc import ABCMeta, abstractmethod |
5 | 5 | from .window import WindowBase |
6 | | -from . import __os_name |
| 6 | +#from . import __os_name |
7 | 7 |
|
8 | 8 |
|
9 | 9 | class DSIBase(object, metaclass=ABCMeta): |
@@ -48,30 +48,30 @@ def get_window_by_name(cls, name: str) -> WindowBase: |
48 | 48 | if window.name is not None and name in window.name: |
49 | 49 | return window |
50 | 50 |
|
51 | | - @property |
52 | | - def platform(self) -> str: |
53 | | - """ |
54 | | - Returns the platform name. |
55 | | - """ |
56 | | - return __os_name |
| 51 | + # @property |
| 52 | + # def platform(self) -> str: |
| 53 | + # """ |
| 54 | + # Returns the platform name. |
| 55 | + # """ |
| 56 | + # return __os_name |
57 | 57 |
|
58 | | - @property |
59 | | - def linux(self) -> bool: |
60 | | - """ |
61 | | - Returns True if the platform is linux. |
62 | | - """ |
63 | | - return self.platform == "linux" |
| 58 | + # @property |
| 59 | + # def linux(self) -> bool: |
| 60 | + # """ |
| 61 | + # Returns True if the platform is linux. |
| 62 | + # """ |
| 63 | + # return self.platform == "linux" |
64 | 64 |
|
65 | | - @property |
66 | | - def windows(self) -> bool: |
67 | | - """ |
68 | | - Returns True if the platform is windows. |
69 | | - """ |
70 | | - return self.platform == "windows" |
| 65 | + # @property |
| 66 | + # def windows(self) -> bool: |
| 67 | + # """ |
| 68 | + # Returns True if the platform is windows. |
| 69 | + # """ |
| 70 | + # return self.platform == "windows" |
71 | 71 |
|
72 | | - @property |
73 | | - def mac(self) -> bool: |
74 | | - """ |
75 | | - Returns True if the platform is mac. |
76 | | - """ |
77 | | - return self.platform == "darwin" |
| 72 | + # @property |
| 73 | + # def mac(self) -> bool: |
| 74 | + # """ |
| 75 | + # Returns True if the platform is mac. |
| 76 | + # """ |
| 77 | + # return self.platform == "darwin" |
0 commit comments